import { createApp } from "vue"; // Vue 3.x 引入 vue 的形式
import App from "./App.vue"; // 引入 APP 页面组建
import vant from "./plugins/vant";
import antd from "./plugins/antd";
import varlet from "./plugins/varlet";
import "./assets/style/reset.less";
import "./assets/style/common.less";
import "./assets/fonts/iconfont.css";
import "./assets/style/icon.less";
import '@varlet/ui/es/date-picker/style/index.js'
import store from "./store"; // store
import router from "./route";
const app = createApp(App); // 通过 createApp 初始化 app
app.use(store).use(router);
vant(app);
antd(app);
varlet(app);
app.mount("#root"); // 将页面挂载到 root 节点
